<!-- /ezadm/template/user/admin_list.htm :: 2011-01-07 :: btslove //-->
<script language='javascript'>
<!--
// goto insert form
function goto_insert()
{
	var url = g_arg_url('<?=$g_job?>', 'insert_form');
	g_open(url, 600, 400);
}
// goto update form
function goto_update(id)
{
	var url = g_arg_url('<?=$g_job?>', 'update_form', id);
	g_open(url, 600, 400);
}

//-->
</script>
<!------------------------ 관리자 목록 시작 ▼▼▼//------------------------>
<table class='list'>
<col width='15%'><col width='15%'><col width='14%'><col width='14%'><col width='11%'><col width='10%'><col width='7%'><col width='7%'><col width='7%'>
<tr>
	<th>아이디</th>
	<th>회원명</th>
	<th>일반전화</th>
	<th>휴대전화</th>
	<th>레벨</th>
	<th>등록일</th>
	<th>이메일</th>
	<th colspan='2' width='14%'>관리자툴</th>
</tr>
<?php if (count($member_list)) { ?>
	<?php foreach ($member_list as $k => $v) { ?>
	<tr class='list' onmouseover="g_mouse_over(this);" onmouseout="g_mouse_out(this);">
		<td><?=$v['mb_id']?></td>
		<td><?=$v['mb_name']?></td>
		<td><?=$v['mb_tel']?></td>
		<td><?=$v['mb_hp']?></td>
		<td><?=$User->_levels[$v['mb_level']]?></td>
		<td><?=date('Y-m-d', $v['mb_ctime'])?></td>
		<td><?php if ($v['mb_eml']) { ?><a href="mailto:<?=$v['mb_eml']?>"><img src='<?=$App->_url_admin?>/icon/mail_icon.gif' border='0' align='absmiddle' alt="<?=$v['mb_eml']?>" width='13' height='10'></a><?php } ?></td>
		<td><input type='button' class='full_button' value='수정' onClick="goto_update('<?=$v['mb_id']?>'); return false;"></td>
		<td><?php if ($v['mb_id'] != $_SESSION['ESTATE']['id']) { ?><input type='button' class='full_button' value='삭제' onClick="g_goto_delete('<?=$g_job?>', 'delete', '<?=$v['mb_id']?>');"><?php } ?></td>
	</tr>
	<?php } ?>
<?php } else { ?>
  <tr class='empty'>
	<td colspan='10'>등록된 관리자가 없습니다.</td>
  </tr>
<?php } ?>
</table>

<!------------------------ 관리자 목록 끝 ▲▲▲//------------------------>
<br>
<!------------------------관리자 기능툴 시작 ▼▼▼//------------------------>
<table width='100%'>
<col width='86%'><col width='14%'>
<tr class='form'>
	<td></td>
	<td class='form'><input type='button' class='full_button' value='관리자추가' onclick="goto_insert(); return false;"></td>
</tr>
</table>
<!------------------------ 관리자 기능툴 끝 ▲▲▲//------------------------>